<{include file="db:TDMStats_index.html"}>
<script type="text/javascript">
	$(function() {
		$("#tabs").tabs();
	});
	</script>

<div id="tabs">
	<ul>
		<li style="list-style-type: none;"><a href="#day"><{$lang_by_day}></a></li>
		<li style="list-style-type: none;"><a href="#week_day"><{$lang_by_weekday}></a></li>
		<li style="list-style-type: none;"><a href="#week"><{$lang_by_week}></a></li>
		<li style="list-style-type: none;"><a href="#mth"><{$lang_by_mth}></a></li>
		<li style="list-style-type: none;"><a href="#hour"><{$lang_by_hour}></a></li>
	<li style="list-style-type: none;"><a href="#page"><{$lang_by_page}></a></li>
	<li style="list-style-type: none;"><a href="#module"><{$smarty.const._AM_BY_MODULE}></a></li>
	</ul>

  <div id="day">

	<table class="map" cellspacing="0" cellpadding="0">
      <caption align="top"><{$smarty.const._AM_BY_DAY}><br /><br /></caption>
      <tr>
        <th scope="col"><{$smarty.const._AM_BY_DAY}></th>
        <th scope="col"><{$smarty.const._AM_DATE_VISITS}></th>
      </tr>
	  <{foreach item=days_map from=$days_map}>
      <tr>
        <td width="20%" class="option"><div style="margin:5px;"><{$days_map.day}></div></td>
        <td  width="80%" class="value"><img src="./images/bar/<{$img_bar}>" title="<{$days_map.percent}>%" alt="<{$days_map.percent}>%" width="<{$days_map.percent}>%" height="16" /><{$days_map.info}></td>
      </tr>
	  <{/foreach}>
    </table>
	<span><a href="javascript:;" onclick="javascript:masque('1')" ><{$smarty.const._AM_VIEW}></a></span>
	<br /><br />
	<div id="masque_1" style="display: none;">
	<table class="outer" width="100%" border="0" cellspacing="1" cellpadding="4" align="center">
	<tr>
	<td class="head" align="center"><{$smarty.const._AM_BY_DAY}></td>
	<td class="head" align="center"><{$smarty.const._AM_DATE_VISITS}></td>
	<td class="head" align="center"><{$smarty.const._AM_DATE_PERCENT}></td>
	</tr>
	<{foreach item=days from=$days}>
	 <tr class="<{cycle values="even,odd"}>" valign="center"> 
	 <td width="33%" align="center"><{$days.day}></td>
	<td width="33%" align="center"><{$days.info}></td>
	  <td width="33%" align="center"><{$days.percent}>%</td>	
	</tr>
	<{/foreach}>
	</table>
	</div>
</div>


  <div id="week_day">

  
	<table class="map" cellspacing="0" cellpadding="0">
      <caption align="top"><{$smarty.const._AM_BY_WEEKDAY}><br /><br /></caption>
      <tr>
        <th scope="col"><{$smarty.const._AM_BY_WEEKDAY}></th>
        <th scope="col"><{$smarty.const._AM_DATE_VISITS}></th>
      </tr>
	  <{foreach item=week_days_map from=$week_days_map}>
      <tr>
        <td width="20%" class="option"><div style="margin:5px;"><{$week_days_map.week_day}></div></td>
        <td  width="80%" class="value"><img src="./images/bar/<{$img_bar}>" title="<{$week_days_map.percent}>%" alt="<{$week_days_map.percent}>%" width="<{$week_days_map.percent}>%" height="16" /><{$week_days_map.info}></td>
      </tr>
	  <{/foreach}>
    </table>
	<span><a href="javascript:;" onclick="javascript:masque('2')" ><{$smarty.const._AM_VIEW}></a></span>
	<br /><br />
	<div id="masque_2" style="display: none;">
	<table class="outer" width="100%" border="0" cellspacing="1" cellpadding="4" align="center">
	<tr>
	<td class="head" align="center"><{$smarty.const._AM_BY_WEEKDAY}></td>
	<td class="head" align="center"><{$smarty.const._AM_DATE_VISITS}></td>
	<td class="head" align="center"><{$smarty.const._AM_DATE_PERCENT}></td>
	</tr>
	<{foreach item=week_days from=$week_days}>
	 <tr class="<{cycle values="even,odd"}>" valign="center"> 
	 <td width="33%" align="center"><{$week_days.week_day}></td>
	<td width="33%" align="center"><{$week_days.info}></td>
	  <td width="33%" align="center"><{$week_days.percent}>%</td> 
      </tr>
	<{/foreach}>
	</table>
	</div>
</div>


<div id="week">

  
  <table class="map" cellspacing="0" cellpadding="0">
      <caption align="top"><{$smarty.const._AM_BY_WEEK}><br /><br /></caption>
      <tr>
        <th scope="col"><{$smarty.const._AM_BY_WEEK}></th>
        <th scope="col"><{$smarty.const._AM_DATE_VISITS}></th>
      </tr>
	  <{foreach item=lasts_map from=$lasts_map}>
      <tr>
        <td width="20%" class="option"><div style="margin:5px;"><{$lasts_map.week}> (<{$lasts_map.year}>)</div></td>
        <td  width="80%" class="value"><img src="./images/bar/<{$img_bar}>" title="<{$lasts_map.percent}>%" alt="<{$lasts_map.percent}>%" width="<{$lasts_map.percent}>%" height="16" /><{$lasts_map.info}></td>
      </tr>
	  <{/foreach}>
    </table>
	<span><a href="javascript:;" onclick="javascript:masque('3')" ><{$smarty.const._AM_VIEW}></a></span>
	<br /><br />
	<div id="masque_3" style="display: none;">
	<table class="outer" width="100%" border="0" cellspacing="1" cellpadding="4" align="center">
	<tr>
	<td class="head" align="center"><{$smarty.const._AM_BY_WEEK}></td>
	<td class="head" align="center"><{$smarty.const._AM_DATE_VISITS}></td>
	<td class="head" align="center"><{$smarty.const._AM_DATE_PERCENT}></td>
	</tr>
	<{foreach item=lasts from=$lasts}>
	 <tr class="<{cycle values="even,odd"}>" valign="center"> 
	 <td width="33%" align="center"><{$lasts.week}> (<{$lasts.year}>)</td>
	<td width="33%" align="center"><{$lasts.info}></td>
	  <td width="33%" align="center"><{$lasts.percent}>%</td> 	
	</tr>
	<{/foreach}>
	</table>
	</div>
</div>


 <div id="mth">

  
  <table class="map" cellspacing="0" cellpadding="0">
      <caption align="top"><{$smarty.const._AM_BY_MTH}><br /><br /></caption>
      <tr>
        <th scope="col"><{$smarty.const._AM_BY_MTH}></th>
        <th scope="col"><{$smarty.const._AM_DATE_VISITS}></th>
      </tr>
	  <{foreach item=mths_map from=$mths_map}>
      <tr>
        <td width="20%" class="option"><div style="margin:5px;"><{$mths_map.mth}> (<{$mths_map.year}>)</div></td>
        <td  width="80%" class="value"><img src="./images/bar/<{$img_bar}>" title="<{$mths_map.percent}>%" alt="<{$mths_map.percent}>%" width="<{$mths_map.percent}>%" height="16" /><{$mths_map.info}></td>
      </tr>
	  <{/foreach}>
    </table>
	<span><a href="javascript:;" onclick="javascript:masque('4')" ><{$smarty.const._AM_VIEW}></a></span>
	<br /><br />
	<div id="masque_4" style="display: none;">
	<table class="outer" width="100%" border="0" cellspacing="1" cellpadding="4" align="center">
	<tr>
	<td class="head" align="center"><{$smarty.const._AM_BY_MTH}></td>
	<td class="head" align="center"><{$smarty.const._AM_DATE_VISITS}></td>
	<td class="head" align="center"><{$smarty.const._AM_DATE_PERCENT}></td>
	</tr>
	<{foreach item=mths from=$mths}>
	 <tr class="<{cycle values="even,odd"}>" valign="center"> 
	 <td width="33%" align="center"><{$mths.mth}> (<{$mths.year}>)</td>
	<td width="33%" align="center"><{$mths.info}></td>
	  <td width="33%" align="center"><{$mths.percent}>%</td> 	
	</tr>
	<{/foreach}>
	</table>
	</div>
</div>


   <div id="hour">

 <table class="map" cellspacing="0" cellpadding="0">
      <caption align="top"><{$smarty.const._AM_BY_HOUR}><br /><br /></caption>
      <tr>
        <th scope="col"><{$smarty.const._AM_BY_HOUR}></th>
        <th scope="col"><{$smarty.const._AM_DATE_VISITS}></th>
      </tr>
	  <{foreach item=hours_map from=$hours_map}>
      <tr>
        <td width="20%" class="option"><div style="margin:5px;"><{$hours_map.hour}></div></td>
        <td  width="80%" class="value"><img src="./images/bar/<{$img_bar}>" title="<{$hours_map.percent}>%" alt="<{$hours_map.percent}>%" width="<{$hours_map.percent}>%" height="16" /><{$hours_map.info}></td>
      </tr>
	  <{/foreach}>
    </table>
	<span><a href="javascript:;" onclick="javascript:masque('5')" ><{$smarty.const._AM_VIEW}></a></span>
	<br /><br />
	<div id="masque_5" style="display: none;">
	<table class="outer" width="100%" border="0" cellspacing="1" cellpadding="4" align="center">
	<tr>
	<td class="head" align="center"><{$smarty.const._AM_BY_HOUR}></td>
	<td class="head" align="center"><{$smarty.const._AM_DATE_VISITS}></td>
	<td class="head" align="center"><{$smarty.const._AM_DATE_PERCENT}></td>
	<td class="head" align="center"></td>
	</tr>
	<{foreach item=hours from=$hours}>
	 <tr class="<{cycle values="even,odd"}>" valign="center"> 
	 <td width="33%" align="center"><{$hours.hour}></td>
	<td width="33%" align="center"><{$hours.info}></td>
	  <td width="33%" align="center"><{$hours.percent}>%</td> 	
	</tr>
	<{/foreach}>
	</table>
	</div>
</div>

   <div id="page">

  
 <table class="map" cellspacing="0" cellpadding="0">
      <caption align="top"><{$smarty.const._AM_BY_PAGE}><br /><br /></caption>
      <tr>
        <th scope="col"><{$smarty.const._AM_BY_PAGE}></th>
        <th scope="col"><{$smarty.const._AM_DATE_VISITS}></th>
      </tr>
	  <{foreach item=pages_map from=$pages_map}>
      <tr>
        <td width="20%" class="option"><div style="margin:5px;"><{$pages_map.page}></div></td>
        <td  width="80%" class="value"><img src="./images/bar/<{$img_bar}>" title="<{$pages_map.percent}>%" alt="<{$pages_map.percent}>%" width="<{$pages_map.percent}>%" height="16" /><{$pages_map.info}></td>
      </tr>
	  <{/foreach}>
    </table>
	<span><a href="javascript:;" onclick="javascript:masque('6')" ><{$smarty.const._AM_VIEW}></a></span>
	<br /><br />
	<div id="masque_6" style="display: none;">
	<table class="outer" width="100%" border="0" cellspacing="1" cellpadding="4" align="center">
	<tr>
	<td class="head" align="center"></td>
	<td class="head" align="center"><{$smarty.const._AM_BY_PAGE}></td>
	<td class="head" align="center"><{$smarty.const._AM_DATE_VISITS}></td>
	<td class="head" align="center"><{$smarty.const._AM_DATE_PERCENT}></td>
	<td class="head" align="center"></td>
	</tr>
	<{foreach item=pages from=$pages}>
	 <tr class="<{cycle values="even,odd"}>" valign="center"> 
	 <td width="33%" align="center"><span title="<{$pages.title}>" alt="<{$pages.title}>"><{$pages.page}></span></td>
	<td width="33%" align="center"><{$pages.info}></td>
	  <td width="33%" align="center"><{$pages.percent}>%</td> 
 	</tr>
	<{/foreach}>
	</table>
	</div>
</div>
 
 
 
   <div id="module">

  
<table class="map" cellspacing="0" cellpadding="0">
      <caption align="top"><{$smarty.const._AM_BY_MODULE}><br /><br /></caption>
      <tr>
        <th scope="col"><{$smarty.const._AM_BY_MODULE}></th>
        <th scope="col"><{$smarty.const._AM_DATE_VISITS}></th>
      </tr>
	  <{foreach item=modules_map from=$modules_map}>
      <tr>
        <td width="20%" class="option"><div style="margin:5px;"><{$modules_map.modules}></div></td>
        <td width="80%" class="value"><img src="./images/bar/<{$img_bar}>" title="<{$modules_map.percent}>%" alt="<{$modules_map.percent}>%" width="<{$modules_map.percent}>%" height="16" /><{$modules_map.info}></td>
      </tr>
	  <{/foreach}>
    </table>
	<span><a href="javascript:;" onclick="javascript:masque('7')" ><{$smarty.const._AM_VIEW}></a></span>
	<br /><br />
	<div id="masque_7" style="display: none;">
	<table class="outer" width="100%" border="0" cellspacing="1" cellpadding="4" align="center">
	<tr>
	<td class="head" align="center"><{$smarty.const._AM_BY_MODULE}></td>
	<td class="head" align="center"><{$smarty.const._AM_DATE_VISITS}></td>
	<td class="head" align="center"><{$smarty.const._AM_DATE_PERCENT}></td>
	</tr>
	<{foreach item=modules from=$modules}>
	 <tr class="<{cycle values="even,odd"}>" valign="center"> 
	 <td width="33%" align="center"><{$modules.modules}></td>
	<td width="33%" align="center"><{$modules.info}></td>
	  <td width="33%" align="center"><{$modules.percent}>%</td> 	
	</tr>
	<{/foreach}>
	</table>
	</div>
</div>

 
</div>

<br /><br style="clear: both;" />